#include "mat2.h"

mat2::mat2()
{
	m[0] = m[3] = 1;
	m[1] = m[2] = 0;
}

mat2::mat2(float value)
{
	for(int i=0;i<4;++i)
		m[i] = value;
}

mat2::mat2(const mat2 &copy)
{
	for(int i=0;i<4;++i)
		m[i] = copy.m[i];
}
